<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>游戏天地</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="{{url('css/main.css')}}" type="text/css" rel="stylesheet" />
    <script src="{{url('js/jquery.js')}}" type="text/javascript"></script>
</head>

<body>

{{--
<div style="padding-left:10px; padding-right:10px; padding-top:7px; background-image:url({{url('images/box_union_search_bg.png')}}); background-repeat:repeat-x; height:44px;">

    <form>
        <div class="box_union_search">
             <img src="{{url('images/union_ico_search.png')}}" width="18">
            <input class="input_search" type="text" class="text" value="搜索游戏..." onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '搜索游戏...';}">
        </div>
    </form>

</div>
--}}

<div style="padding-left:10px; padding-right:10px;">


    @foreach ($games as $game)
        <a href="{{url('uploads')}}/{{$game->img1}}">
    <div class="box_union_all">
        <img src="/uploads/{{$game->img}}" width="85">
        <div class="box_union_text">
            <h1>{{$game->title}}</h1>
            <p>游戏：<span>{{$game->type}}</span></p>
            <p>人数：<span>{{$game->num}}</span></p>
        </div>
    </div>
        </a>
    @endforeach

</div>



</body>
</html>
